namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// se_box - 界面坐标配置
    /// </summary>
    public DbSet<POSeBox> SeBoxs { get; set; }
}

/// <summary>
/// se_box - 界面坐标配置
/// 表[se_box]
/// </summary>
[Table("se_box")]
public class POSeBox
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[se_box.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 控件名称
    /// [se_box.box_name)]
    /// </summary>
    [Column("box_name")]
    public string BoxName { get; set; }
    /// <summary>
    /// 控件编号,用来和scada_box_tasks的线条编号关联
    /// [se_box.box_code)]
    /// </summary>
    [Column("box_code")]
    public string BoxCode { get; set; }
    /// <summary>
    /// 货位Id
    /// [se_box.loc_id)]
    /// </summary>
    [Column("loc_id")]
    public long? LocId { get; set; }
    /// <summary>
    /// 设备Id
    /// [se_box.equip_id)]
    /// </summary>
    [Column("equip_id")]
    public long? EquipId { get; set; }
    /// <summary>
    /// [se_box.box_top)]
    /// </summary>
    [Column("box_top")]
    public int? BoxTop { get; set; }
    /// <summary>
    /// [se_box.box_left)]
    /// </summary>
    [Column("box_left")]
    public int? BoxLeft { get; set; }
    /// <summary>
    /// [se_box.box_width)]
    /// </summary>
    [Column("box_width")]
    public int? BoxWidth { get; set; }
    /// <summary>
    /// [se_box.box_height)]
    /// </summary>
    [Column("box_height")]
    public int? BoxHeight { get; set; }
    /// <summary>
    /// 控件顺序
    /// [se_box.box_index)]
    /// </summary>
    [Column("box_index")]
    public int? BoxIndex { get; set; }
    /// <summary>
    /// 创建时间
    /// [se_box.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [se_box.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [se_box.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 形状
    /// [se_box.show_type)]
    /// </summary>
    [Column("show_type")]
    public string ShowType { get; set; }
    /// <summary>
    /// 颜色
    /// [se_box.show_color)]
    /// </summary>
    [Column("show_color")]
    public string ShowColor { get; set; }
    /// <summary>
    /// 边界
    /// [se_box.show_border)]
    /// </summary>
    [Column("show_border")]
    public string ShowBorder { get; set; }
    /// <summary>
    /// [se_box.show_code)]
    /// </summary>
    [Column("show_code")]
    public int? ShowCode { get; set; }
    /// <summary>
    /// 节点名
    /// [se_box.show_name)]
    /// </summary>
    [Column("show_name")]
    public string ShowName { get; set; }
    /// <summary>
    /// [se_box.remark_memo)]
    /// </summary>
    [Column("remark_memo")]
    public string RemarkMemo { get; set; }
    /// <summary>
    /// 警告代码
    /// [se_box.warning_code)]
    /// </summary>
    [Column("warning_code")]
    public string WarningCode { get; set; }
    /// <summary>
    /// 警告名称
    /// [se_box.warning_name)]
    /// </summary>
    [Column("warning_name")]
    public string WarningName { get; set; }
    /// <summary>
    /// 控件类型：1 - 说明 ，2 - 线体 ， 3 - 扫描 ，
    /// [se_box.box_type)]
    /// </summary>
    [Column("box_type")]
    public int? BoxType { get; set; }
    /// <summary>
    /// 父类Id，用于节点间的关联
    /// [se_box.parent_id)]
    /// </summary>
    [Column("parent_id")]
    public long? ParentId { get; set; }
    /// <summary>
    /// [se_box.tcm_spec_desc)]
    /// </summary>
    [Column("tcm_spec_desc")]
    public string TcmSpecDesc { get; set; }
    /// <summary>
    /// [se_box.tcm_spec)]
    /// </summary>
    [Column("tcm_spec")]
    public string TcmSpec { get; set; }
    /// <summary>
    /// [se_box.plc_code)]
    /// </summary>
    [Column("plc_code")]
    public string PlcCode { get; set; }
    /// <summary>
    /// [se_box.rcv_flag)]
    /// </summary>
    [Column("rcv_flag")]
    public string RcvFlag { get; set; }
    /// <summary>
    /// [se_box.reg_dt)]
    /// </summary>
    [Column("reg_dt")]
    public DateTime? RegDt { get; set; }
}
